#ifndef SELECTREGIONCONTROL_H
#define SELECTREGIONCONTROL_H

#include <QObject>
#include "Singleton.hpp"
#include "Ptr.hpp"
#include "SelectRegion.h"

using namespace OOPUtils;

class SelectRegionControl : public QObject, public Singleton< SelectRegionControl >
{

  Q_OBJECT
  friend class Singleton< SelectRegionControl >;

private:

  SelectRegionControl () {}

public:

  Ptr< SelectRegion > createRectRegion (QRect region);

};

#endif // SELECTREGIONCONTROL_H
